home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / usr / share / doc / libgksu2-0 / README.Debian < prev   
Encoding:
Text File  |  2007-03-24  |  2.1 KB  |  50 lines

  1. ==================
  2. libgksu for Debian
  3. ==================
  4.  
  5. The gksu library enables the user to run programs with root powers
  6. using one of `su' or `sudo' as backend. If the application that uses
  7. the library doesn't specify the backend it wants to use, the backend
  8. will be selected through the `/apps/gksu/sudo-mode' boolean gconf
  9. option.
  10.  
  11. The Debian package provides two gconf default files, one of them
  12. setting sudo-mode to true, the other setting sudo-mode to false. Which
  13. one of them is used to set the default is decided through an
  14. alternative.
  15.  
  16. Debian tools, Systems Administrators and custom distributions builders
  17. might want to make use of this functionality to decide whhich backend
  18. to use. This is done by configuring the libgksu-gconf-default
  19. alternative:
  20.  
  21.  # update-alternatives --config libgksu-gconf-defaults
  22.  
  23.  There are 2 alternatives which provide `libgksu-gconf-defaults'.
  24.  
  25.    Selection    Alternative
  26.  -----------------------------------------------
  27.  *         1    /usr/share/libgksu/debian/gconf-defaults.libgksu-sudo
  28.   +        2    /usr/share/libgksu/debian/gconf-defaults.libgksu-su
  29.  
  30.  Press enter to keep the default[*], or type selection number: 2
  31.  Using `/usr/share/libgksu/debian/gconf-defaults.libgksu-su' to provide `libgksu-gconf-defaults'.
  32.  
  33. After setting the alternative you must run the `update-gconf-defaults'
  34. script to actually apply the setting to the gconf defaults XML file.
  35.  
  36. While this possibility exists, it would be best if it is only used by
  37. the internal Debian infra-structure, since there are already better
  38. and documented ways of providing "default" settings for gconf-using
  39. applications both in the upstream software[0] and in the gconf
  40. packaging[1] itself, good for administrators and custom distributions
  41. builders, respectively.
  42.  
  43. [0]: Read the GNOME Desktop System Administration Guide at
  44.      http://www.gnome.org/learn/admin-guide/latest/
  45. [1]: See the dh_gconf(1) script provided in the debhelper package and
  46.      also see the /usr/sbin/update-gconf-defaults python script
  47.      provided in the gconf package
  48.  
  49.  -- Gustavo Noronha Silva <kov@debian.org>, Sun,  3 Sep 2006 19:06:47 -0300
  50.